require('@/assets/css.less');
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

//
import 'vant/lib/index.css';
import Vant from 'vant';

//
import api from '@/api';
import constant from './constant';


Vue.config.productionTip = false;
// this.$constant
// this.$api
Vue.prototype.$constant = constant;
Vue.prototype.$api = api;
Vue.use(Vant);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");